package com.soyorin.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.soyorin.shop.entity.Shop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopMapper extends BaseMapper<Shop> {
    List<Shop> selectByDistance(double positionX, double positionY);

    List<Shop> selectByRatingDesc();
}
